freebsd-64/home/warrior/coa-example# ls -la
total 10
drwxr-xr-x  2 root     wheel  512 Apr 16 01:10 .
drwxr-xr-x  4 warrior  wheel  512 Apr 16 01:03 ..
-rw-r--r--  1 root     wheel  176 Apr 16 01:34 activate.txt
-rw-r--r--  1 root     wheel  114 Apr 16 01:34 deactivate.txt
-rw-r--r--  1 root     wheel  164 Apr 16 01:12 example

freebsd-64/home/warrior/coa-example# cat activate.txt
User-Name := "user-pppoe"
Acct-Session-Id := "x"
ERX-Service-Activate:1 := "RATE-LIMIT(pp0,5000000)"
ERX-Service-Statistics:1 := "time-volume"
ERX-Service-Acct-Interval:1 := 10

freebsd-64/home/warrior/coa-example# cat deactivate.txt
User-Name := "user-pppoe"
Acct-Session-Id := "x"
ERX-Service-Session := "y"
ERX-Service-Deactivate := "RATE-LIMIT"

freebsd-64/home/warrior/coa-example# cat example
radclient -d /usr/local/etc/raddb -x -f activate.txt 10.10.209.1:3799 coa secret
radclient -d /usr/local/etc/raddb -x -f deactivate.txt 10.10.209.1:3799 coa secret
